In this structure, the <commands1> clause will always execute. If the result of the last command of the set produces an error (result <> zero), then the <commands2> clause will be executed. Control will then return to the <commands1> clause, and the process will continue until the last command of this set completes without error (result = 0).
Flow of control statements are available in nShell-Pro(tm)
RETURN CODES
<0 Error
0 Success
SEE ALSO
while, if
EXAMPLES
until yesno "Should I STOP saying hello?" do hello done